@import '../../res/theme/xxhz.scss';



.shopcar-root {
  width: 100%;
  min-height: 100vh;

  .head-bg {
    position: sticky;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
  }

  .shop-top {
    width: 100%;
    height: 80px;
    background: white;
    border-bottom: 1Px solid #f0f0f0;

    .shop-top-btn {
      float: right;
      height: 80px;
      line-height: 80px;
      padding: 0 30px;
      color: $color-font-secondry;
      font-size: 26px;
    }

    .bold {
      font-weight: bold;
      color: $color-font-default;
    }
  }

  .shop-toph5 {
    height: 50px;
    padding-bottom: 10px;
    padding-top: 14px;

    .shop-top-btn {
      height: 50px;
      line-height: 50px;
    }
  }

  .shopCarBox {
    width: 100%;
    background: #f8f8f8;

    .shopCarlist {
      width: 100%;
      margin: 0 auto;

      .goodsum {
        width: 100%;
        background: #fff;
        display: flex;
        justify-content: space-between;
        align-items: center;
        overflow: hidden;

        .bottom_check {
          display: flex;
          align-items: center;
          padding-left: 30px;
        }

        .sumbox {
          display: flex;
          justify-content: flex-end;
          align-items: center;
          width: 100%;
          margin-top: 48px;
          border-top: 1px solid #f0f0f0;
          border-bottom: 1px solid #f0f0f0;
          background: #fdfdfd;

          .left {
            line-height: 98px;
            font-size: 24px;
            color: #333333;
            padding-right: 30px;

            text {
              color: #ca0000;
            }
          }

          .right {
            background: #ca0000;
            line-height: 98px;
            width: 186px;
            color: #fff;
            font-size: 30px;
            text-align: center;
          }
        }
      }

      .bottom {
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 9998;
        box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.01);
        padding-bottom: env(safe-area-inset-bottom);

        .sumbox {
          width: auto;
          margin-top: 0;
          border: none;
        }

        .bottom_check {
          font-size: 26px;
          color: #333;
          height: 98px;
        }
      }

      .shopCarlist-box {
        width: 720px;
        margin: 20px auto 0;
        background: #fff;
        overflow: hidden;

        .good-item-dome {
          margin-bottom: 48px;

          .at-swipe-action {
            width: 100% !important;
          }
        }

        .shopCarBox-title {
          width: 690px;
          margin: 0 auto;
          height: 90px;
          line-height: 90px;
          display: flex;
          align-items: baseline;

          .shopCarBox-title-text {
            font-size: 30px;
            color: $color-font-primary;
            padding-left: 20px

          }
        }

        .good-item {
          width: 690px;
          margin: 0 auto;
          display: flex;
          align-items: center;
          justify-content: space-between;

          .num {
            font-size: 20px;
            color: #333;
            padding-left: 10px
          }

          .radio-box {
            min-height: 172px;
            display: flex;
            align-items: center;
          }

          .good-item-box {
            width: 635px;
            height: 172px;
            display: flex;

            &.disabled {
              background: none;
            }

            .title-box {
              padding-left: 20px;
              width: 400px;
              position: relative;
              height: 100%;

              .title {
                color: #333;
                font-size: 28px;
                white-space: nowrap;
                text-overflow: ellipsis;
                overflow: hidden;
              }

              .label {
                display: inline-block;
                margin: 15px 0;
                background: #f4f4f4;
                border-radius: 8px;
                line-height: 36px;
                font-size: 22px;
                color: #666;
                padding: 0 10px;

                .taro-text, text {
                  display: inline-block;
                  max-width: 200px;
                  white-space: nowrap;
                  text-overflow: ellipsis;
                  overflow: hidden;
                  vertical-align: middle;
                  line-height: 1.2;
                }

                at-icon {
                  padding-left: 20px;
                  vertical-align: middle;
                }
              }

              .price-box {
                position: absolute;
                bottom: 0;
                left: 0;
                line-height: 1;
                width: 400px;
                padding-left: 20px;
                display: flex;
                justify-content: space-between;

                .price-box-left {
                  float: left;
                  margin-top: 12px;
                }

                at-input-number {
                  float: right;
                }

                .symbol {
                  font-size: 26px;
                  color: #ca0000
                }

                .price {
                  font-size: 34px;
                  color: #ca0000
                }
              }
            }

            .img-box {
              position: relative;
              width: 210px;
              height: 172px;
              overflow: hidden;
              border-radius: 14px;

              .imgTopright {
                background: rgba(0, 0, 0, .7);
                position: absolute;
                left: 0;
                bottom: 0;
                width: 100%;
                line-height: 60px;
                text-align: center;
                font-size: 24px;
                color: #fff;
              }

              .imgTop {
                width: 100%;
                height: 100%;
                position: absolute;
                left: 0;
                top: 0;
                z-index: 10;
                background: rgba(255, 255, 255, .45);
                display: flex;
                justify-content: center;
                align-items: center;

                image, .taro-img {
                  width: 87px;
                  height: 87px;
                }
              }

              .img {
                width: 100%;
                height: 100%;
              }
            }
          }

          .disabled {
            .title-box {
              .title {
                color: #888888;
                font-size: 28px;
              }

              .label {
                background: #f8f8f8;
                color: #bbb;
              }

              .price-box {

                .symbol {
                  color: #666666
                }

                .price {
                  color: #666666
                }
              }
            }
          }
        }
      }

      .oneshop {
        padding: 30px 0;
        border-radius: 10px;
        margin-bottom: 150px;
      }

      .good-item-dome:last-child {
        margin-bottom: 0;
      }
    }
  }

  .listNull {
    width: 100%;
    height: 100%;
    text-align: center;
    overflow: hidden;

    image, .taro-img {
      width: 295px;
      height: 295px;
      margin: 86px auto 35px;

    }

    .text {
      font-size: 24px;
      color: #666;

      text {
        color: #f58240;
      }
    }

  }

  radio {
    transform: scale(0.8);
  }

  ::-webkit-scrollbar {
    width: 0;
    height: 0;
    color: transparent;
  }
}
